@model OurWedding1.Models.GuestGroup
@using OurWedding1
@{
    ViewBag.Title = "Create";
}

@Html.Partial("_GuestsHeading")

<h2>@Resources.Create_New</h2>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)


    @Html.Partial("_CreateOrEdit", Model)
    
    <div id="toolbar" class="ui-widget-header ui-corner-all">
        @Html.ActionLink(Resources.Back_To_List, "Index", null, new { @class = "backButtonLink" })
        <input type="submit" class="submitItem" value="@Resources.Save" />
    </div>

}



@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    <script>
        $(function () {
            $(".backButtonLink").button({
                icons: {
                    primary: "ui-icon-triangle-1-w"
                }
            });
            $(".submitItem").button({
                icons: {
                    primary: "ui-icon-disk"
                }
            });
        });
    </script>
}


